SphinxClient
PHP Manual

SphinxClient::getLastWarning

(PECL sphinx >= 0.1.0)

SphinxClient::getLastWarningGet the last warning

Descripción

public string SphinxClient::getLastWarning ( void )

Returns last warning message. If there were no warnings during the previous API call, empty string is returned. This method doesn't reset the warning, so you can safely call it several times.

Lista de parámetros

This function has no parameters.

Valores retornados

Returns the last warning message or an empty string if there were no warnings.

Ver también


SphinxClient
PHP Manual